package com.example.springboot2.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot2.oa.entity.TDepartment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author llfy
 * @since 2018-11-23
 */
public interface TDepartmentMapper extends BaseMapper<TDepartment> {


    List<TDepartment> getAllByParentId(@Param("id") int id);
}
